package com.cin.cma.common.model.finixx.request;

import com.alibaba.fastjson2.annotation.JSONField;
import com.cin.cma.common.model.finixx.base.BaseRequest;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @Date：2025/1/3 21:50
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PosOrderRequest extends BaseRequest {
    /**
     * 销售操作类型
     */
    @JSONField(name = "sale_op")
    @JsonProperty(value = "sale_op")
    private int saleOp;

    /**
     * POS订单ID
     */
    @JSONField(name = "pos_order_id")
    @JsonProperty(value = "pos_order_id")
    private String posOrderId;

    /**
     * 预定订单ID
     */
    @JSONField(name = "booking_order_id")
    @JsonProperty(value = "booking_order_id")
    private String bookingOrderId;

    /**
     * 取票码
     */
    @JSONField(name = "take_ticket_code")
    @JsonProperty(value = "take_ticket_code")
    private String takeTicketCode;

    /**
     * 取货码
     */
    @JSONField(name = "take_good_code")
    @JsonProperty(value = "take_good_code")
    private String takeGoodCode;

    /**
     * 公式ID（根据提供的字段进行补充）
     */
    @JSONField(name = "pff_formula_id")
    @JsonProperty(value = "pff_formula_id")
    private String pffFormulaId;

}
